package com.huikeportal.service;

import java.util.List;
import java.util.Map;

import com.huikeportal.model.DataTransInfo;
import com.huikeportal.model.MessageCommon;
import com.huikeportal.model.PosApplication;
import com.huikeportal.model.PosDataManagerInfo;
import com.huikeportal.model.SiteAllInfo;
import com.huikeportal.model.SiteType;
import com.huikeportal.model.TableColumnInfo;
import com.huikeportal.model.TransObject;
import com.huikeportal.model.UserInfo;
import com.huikeportal.model.common.PageDataVo;

public interface DataTransitionService {

	public String getDate() throws Exception;
	
	List<SiteAllInfo> getSitesByUser(UserInfo userInfo) throws Exception;

	List<SiteAllInfo> getAllGcList(List<SiteAllInfo> siteList) throws Exception;

	int getLowPermission(List<SiteAllInfo> siteList) throws Exception;

	List<TransObject> getTransObjects(String para) throws Exception;
	
	PageDataVo getMappingDataList(PageDataVo pageDataVo) throws Exception;
	
	List<DataTransInfo> getMappingData(DataTransInfo info) throws Exception;
	
	List<DataTransInfo> getMappingSnData(DataTransInfo info) throws Exception;
	
	PageDataVo getMappingDataListDetail(PageDataVo pageDataVo) throws Exception;
	
	Map saveMappingData(DataTransInfo info) throws Exception;
	
	Map makeAllFiltered(DataTransInfo info) throws Exception;
	
	Map makeById(DataTransInfo info) throws Exception;
	
	Map deleteMappingData(String id) throws Exception;
	
	MessageCommon updateMappingData(DataTransInfo info) throws Exception;
	
	List<TableColumnInfo> getColumnNames(String tableName) throws Exception;
	
	MessageCommon saveTemplateColumn(PosApplication info) throws Exception;
	
	MessageCommon updateTemplateColumn(PosApplication info) throws Exception;
	
	MessageCommon deleteTemplateColumn(PosApplication info) throws Exception;
	
	List<PosApplication> getTemplateColumns(PosApplication info) throws Exception;
	
	String getSiteNameById(String siteId) throws Exception;
	
	DataTransInfo getInfoByIdAndType(DataTransInfo info) throws Exception;
	
	List<DataTransInfo> getQyInGc(String squareId) throws Exception;
	
	List<DataTransInfo> getQyInQy(String squareId) throws Exception;

	List<DataTransInfo> getQyInLc(String squareId) throws Exception;
	
	List<DataTransInfo> getQyInDp(String squareId) throws Exception;
	
	List<DataTransInfo> getLcInGc(String squareId) throws Exception;
	
	List<DataTransInfo> getLcInQy(String squareId) throws Exception;
	
	List<DataTransInfo> getLcInDp(String squareId) throws Exception;
	
	List<DataTransInfo> getDpInGc(String squareId) throws Exception;
	
	List<DataTransInfo> getDpInQy(String squareId) throws Exception;
	
	List<DataTransInfo> getDpInLc(String squareId) throws Exception;
	
	List<DataTransInfo> getTdInGc(String squareId) throws Exception;
	
	List<DataTransInfo> getTdInQy(String squareId) throws Exception;
	
	List<DataTransInfo> getTdInLc(String squareId) throws Exception;
	
	List<DataTransInfo> getTdInDp(String squareId) throws Exception;
	
	List<DataTransInfo> getSiteInGc(DataTransInfo info) throws Exception;
	
	List<DataTransInfo> getSiteInQy(DataTransInfo info) throws Exception;
	
	List<DataTransInfo> getSiteInLc(DataTransInfo info) throws Exception;
	
	List<DataTransInfo> getSiteInDp(DataTransInfo info) throws Exception;
	
	List<DataTransInfo> getNameListBySiteType(DataTransInfo info) throws Exception;
}
